<%--
  Created by IntelliJ IDEA.
  User: 陈子涵
  Date: 2021/7/20
  Time: 15:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息</title>
</head>
<body>
<form action="/user" method="post">
    <p>名字：<input type="text" name="name" placeholder="请输入名字"></p>
    <p>密码：<input type="password" name="pwd" placeholder="请输入密码"></p>
    <p>年龄：
        <input type="text" name="age" style="width: 20px">岁
    </p>
    <p>
        <input type="radio" value="1" name="sex"checked >男
        <input type="radio" value="2" name="sex">女
    </p>
    <p>
        <input type="checkbox" value="1" name="hobby">篮球
        <input type="checkbox" value="2" name="hobby">睡觉
        <input type="checkbox" value="3" name="hobby">代码
        <br>
        <input type="checkbox" value="4" name="hobby">嗑药
        <input type="checkbox" value="5" name="hobby">羽毛球
    </p>
    <p>
        <input type="submit" value="提交">
    </p>
</form>


</body>
</html>
